package cn.com.huak.www.sell.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 表单验证包
 * @author huak@wanggang
 * @date 2019/1/1 22:56
 */
@Data
public class OrderForm {

    /* 买家姓名 */
    @NotEmpty(message = "姓名必填")
    private String name;

    /* 买家电话 */
    @NotEmpty(message = "电话必填")
    private String phone;

    /* 买家地址 */
    @NotEmpty(message = "地址必填")
    private String address;

    /* 买家openid */
    @NotEmpty(message = "openid必填")
    private String openid;

    /* 买家购物车信息 */
    @NotEmpty(message = "购物车不能为空")
    private String items;
}
